package com.dan.service;

import com.dan.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author danqihao
 */
@Mapper
public interface CategoryService {

    public void add(Category category);

    public List<Category> findAll(Integer userId);

    public Category findById(Integer id);

    public void update(Category category);

    public void delete(Integer id);
}
